package shake.context;

import java.util.Map;

import shake.annotation.Component;
import shake.annotation.Unwrap;
import shake.util.ApplicationMap;

import com.google.inject.Inject;
import com.google.inject.Singleton;

@Singleton
@Component
public class ApplicationContext {

	@Inject
	ApplicationMap map;

	@Unwrap(name = "applicationMap")
	public Map<String, Object> getMap() {
		return map;
	}

	public void setMap(ApplicationMap map) {
		this.map = map;
	}

}
